﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SDM.ExamPlanner.DTO.Abstract;

namespace SDM.ExamPlanner.DTO
{
    public class Booking : BaseEntity
    {
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        public virtual Classroom Classroom { get; set; }
        public virtual Course Course { get; set; }
        public virtual ICollection<Teacher> Teachers { get; set; }
        public string SpecialEquipments { get; set; }

        public Booking()
        {
            Teachers = new List<Teacher>();
        }
    }
}
